package com.itljm.cxrMarket.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itljm.cxrMarket.entity.SysRole;
import com.itljm.cxrMarket.entity.SysUser;

import java.util.List;

public interface SysRoleService {
    List<SysRole> selectRolePage(Page<SysRole> page, Wrapper<SysRole> entityWrapper);
    List<SysRole> selectAllRole();
    boolean insertRole(SysRole sysRole);
    boolean deleteRole(Integer id);
    boolean updateRole(SysRole sysRole);
}
